
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css?v=1">
<link rel="stylesheet" href="css/member.css">
<link rel="stylesheet" href="css/order3.css"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta content="yes" name="apple-touch-fullscreen">
<meta content="telephone=no" name="format-detection">
<meta content="black" name="apple-mobile-web-app-status-bar-style">
<meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1,user-scalable=no">
<title>选择地址</title>
</head>
<body>
<!-- <div class="fanhui_cou">
	<div class="fanhui_1"></div>
	<div class="fanhui_ding">顶部</div>
</div> <header class="header header_1">
    <div class="fix_nav">
        <div class="nav_inner">
            <a class="nav-left back-icon" href="javascript:history.back();">返回</a>
            <div class="tit">选择地址</div>
        </div>
    </div>
</header> -->
<div class="container ">
    <div class="row rowcar">
	        <ul class="list-group" id="addressAllInfo">
	        <a href="#">
					 <img style="height: 25px; width: 25px;margin: 20rem 47%;" src="images/loading.gif" alt="加载中" ppsrc="img/0da8eb94-0159-4700-a6a5-bc007da5a853.jpg">
			</a>
	       
			</ul>
	</div>
</div>
<div class="fixed-foot">
<div class="fixed_inner" style="padding:8px;">
    <a href="javascript:submitShopCart();" class="btn btn-danger btn-buy" style="margin-left: 38%;">添加新地址</a>
</div>
</div>
 <div style="height: 70px;"></div>
<script charset="utf-8" src="js/common.js"></script>
<script charset="utf-8" src="js/jquery.min.js"></script>
<script charset="utf-8" src="js/global.js"></script>
<script charset="utf-8" src="js/bootstrap.min.js"></script>
<script charset="utf-8" src="js/wxLoginInfo.js"></script>
<script charset="utf-8" src="js/StringBuilder.js"></script>
<script charset="utf-8" src="js/templeteHtml.js"></script>
<script type="text/javascript">
loginInfo(function(userInfo){
	if(userInfo==undefined||userInfo.id==""||userInfo.id==null||userInfo.id==undefined){
		window.history.go(-1);
		return;
	}
	var memberId=userInfo.id;//用户id
	$.get("xxmember/userAddrList",{id:memberId},function(ret){
		if(ret&&ret.code==200){
			$("#addressAllInfo").html("");
			var datas=ret.data;
			if(datas!=undefined&&datas.length>0){
				for(var i in datas){
					$("#addressAllInfo").append(String.formatmodel(templete.getAddAddressInfoTeml(),datas[i]));
				}
			}
		}
	},'json');
});

var contextPath = '';
function submitShopCart(){
	window.location.href="./my/editAddress.html";
}
</script>
</body></html>
